/**
 * Reference a string in a localized language
 * @param {String} string Naturalized string key to be returned as a localized string literal
 * @returns {String} Localized string literal
 */
var localize = function (string) {
	if (localizedStrings[string]) {
		return localizedStrings[string];
	}
	else {
		return string;
	}
};

if (typeof Lang === 'undefined') {
	Lang = 'en';
}

var script = document.createElement('script');
script.type = "text/javascript";
script.src = 'http://assets.bodybuilding.com/javascript/localizedStrings/' + Lang + '_localizedStrings.js';
document.getElementsByTagName('head')[0].appendChild(script);
